
<%
	/**
	 会员优惠券界面
	 **/
%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title>会员优惠券界面</title>
		<link rel="stylesheet" href="/safeai/css/safeai/customeViewStyle.css"
			type="text/css" />
		<link rel="stylesheet"
			href="/safeai/css/safeai/customeInfoListStyle.css" type="text/css" />
		<%@ include file="/pages/safeai/view/common/taglib.jsp"%>
	</head>
	<body>
		<%@ include file="/pages/safeai/view/common/head.jsp"%>
		<DIV class=block>

			<STYLE>
BODY {
	FONT-FAMILY: Arial, Helvetica, sans-serif;
	FONT-SIZE: 12px
}
</STYLE>

			<DIV style="MARGIN: auto; WIDTH: 950px">
				<DIV class=MemberCenter>
					<jsp:include page="/pages/safeai/membercenter/memberCenterHead.jsp">
						<jsp:param name="currentMenuChoice" value="mytrade" />
					</jsp:include>
					<jsp:include page="/pages/safeai/membercenter/memberCenterLeft.jsp">
						<jsp:param name="currentMenuChoice" value="mytrade" />
					</jsp:include>
					<!-- begin------------------------------------ -->
					<DIV class=MemberMain>
						<DIV style="MARGIN-RIGHT: 175px">
							<DIV class=title>
								我的优惠券
							</DIV>
							<TABLE class="memberlist blueth" cellSpacing=0 cellPadding=3 width="100%">
								<COLGROUP>
									<COL class="span-2 "></COL>
									<COL></COL>
									<COL class=span-4></COL>
									<COL class=span-2></COL>
									<COL class=span-3></COL>
								<THEAD>
									<TR>
										<TH>
											号码
										</TH>
										<TH>
											名称
										</TH>
										<TH>
											有效期
										</TH>
										<TH>
											可用次数
										</TH>
										<TH>
											状态
										</TH>
										<!-- <th>限用商品</th>-->
									</TR>
								</THEAD>
								<TBODY>
								<logic:present name="ecouponList">
								 <logic:iterate id="recommend" name="ecouponList" property="records"
									  indexId="number">
								   <tr>
									  <td class="td_03" >
										<font size="2">${recommend.ecouponno}</font>
									</td>
									<td class="td_03" >
										<font size="2">${recommend.name}</font>
									</td>
									<td class="td_03">
										<font size="2">${recommend.startimeStr} 至 ${recommend.endtimeStr}</font>
	
									</td>
									<td class="td_03" >
										<font size="2">${recommend.maxtimes}</font>
									</td>
									<td class="td_03" >
									<span id="lblTitle" style="color: Green;"> 
									<logic:equal
										value="1" name="recommend" property="status">有效，可以使用...</logic:equal> 
									</span>
									<span id="lblTitle" style="color: Red;"> 
									<logic:equal
										value="0" name="recommend" property="status">无效，已过期...</logic:equal>
									</span>
									
										<font size="2">${recommend.struts}</font>
									</td>
								</tr>
								</logic:iterate>
							    <logic:notPresent name="ecouponList" property="records">
									<tr align="center">
										<TD align=middle  colspan="3">
												<SPAN class=point>尚无任何优惠券.....</SPAN> &nbsp;
										</TD>
									</tr>
								</logic:notPresent>
							</logic:present>
								</TBODY>
							</TABLE>
						</DIV>
					</DIV>

					<!-- end---------------------------------- -->

				</DIV>
			</DIV>
		</DIV>


		<div class="clear"></div>
		<%@ include file="/pages/safeai/view/common/foot.jsp"%>
	</body>
</html>